package com.qy139.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色和菜单关联表
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
@Api("角色资源中间表")
@Data
@EqualsAndHashCode(callSuper = false)
public class TabRoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色ID
     */
    @ApiModelProperty("角色ID")
    private Integer rid;

    /**
     * 菜单ID
     */
    @ApiModelProperty("资源ID")
    private Integer menuid;


}
